package com.bjsxt.userscenter.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 不需要登陆的Servlet
 * 
 * @author WangshSxt
 *
 */
public class NoLoginServlet extends HttpServlet
{

	@Override
	protected void service(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException
	{
		System.out.println("======NoLoginServlet=========");
		/* 服务器端跳转 */
		request.getRequestDispatcher("/login.jsp").forward(request, response);
	}
}
